package com.yytek.am.constants;

public interface MessageType {

    /**
     * 告警源数据
     */
    static final String AM_ALARM_SOURCE = "/yytek/am/alarm/source";

    /**
     * 告警事件
     */
    static final String AM_ALARM_EVENT = "/yytek/am/alarm/event";

    /**
     * 设备告警状态
     */
    static final String AM_ALARM_STATUS = "/yytek/am/alarm/status";

    /**
     * 首次产生告警
     */
    static final String AM_FIRST_EVENT = "/yytek/am/first/event";

    interface EventRule {

        // 告警规则变更
        static final String EVENT_RULE = "/yytek/am/event/rule/+";

        // 告警生成规则变更
        static final String EVENT_RULE_GENERATE = "/yytek/am/event/rule/generate/+";

        // 告警清除规则变更
        static final String EVENT_RULE_CLEAR = "/yytek/am/event/rule/clear/+";

    }

}
